# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=netsed
pkgver=1.3
pkgrel=1
groups=('blackarch' 'blackarch-networking')
pkgdesc='Small and handful utility design to alter the contents of packets forwarded thru network in real time.'
arch=('x86_64' 'aarch64')
url='http://silicone.homelinux.org/projects/netsed/'
license=('GPL2')
depends=('glibc')
source=("http://silicone.homelinux.org/release/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('5ffed86b462c6f89dac9d19184917b5b0759b49862ba0b34701ff2d3aa8cfe55502abb0b09594eb993c50a18962f0ca30c8e9cb96d2445f8c2877189b9a9ac79')

build() {
  cd "$pkgname-$pkgver"

  make CFLAGS="$CFLAGS"
}

package() {
  cd "$pkgname-$pkgver"

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

